import {Component, Input} from "@angular/core";

@Component({
  selector: 'bby-offline-dialog',
  template:
    `
      <ng-container >
        <div style="margin-bottom: 10px">
          <input nz-input style="border-radius: 6px" placeholder="请输入直链，支持http/https/ftp" [(ngModel)]="url"/>
        </div>
        <div>
          <a>下载到：{{path}}</a>
        </div>
      </ng-container>

    `
})
export class OfflineDialog{
  @Input()
  url: string='';
  @Input()
  path: string='';
}
